package pattern.feign.fallback;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
import pattern.feign.FileFeign;
import pattern.result.ResponseData;

/**
 * 文件服务调用失败处理
 * @author Simon
 */
@Slf4j
@Component
public class FileFeignFallBack implements FileFeign {

    @Override
    public ResponseData fileupload(MultipartFile file, String fileName, String bucket) {
        return null;
    }

    @Override
    public ResponseData uploadPath(MultipartFile file, String bucket, String fileName, String path) {
        return null;
    }
}
